package com.bat.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: zpf
 * @Date: 2020/1/15 下午4:48
 */
@TableName("role")
@Data
@NoArgsConstructor
public class RoleEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
}
